package com.elink.enginerring.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.elink.enginerring.domain.DetailCategory;

public interface DetailCategoryMapper {
	int deleteByPrimaryKey(Integer dcId);

	int insert(DetailCategory record);

	int insertSelective(DetailCategory record);

	DetailCategory selectByPrimaryKey(Integer dcId);

	int updateByPrimaryKeySelective(DetailCategory record);

	int updateByPrimaryKey(DetailCategory record);

	List<DetailCategory> selectListByScId(@Param("scId") int scId);

	List<DetailCategory> selectListByFileId(@Param("fileId") String fileId);

	List<Map<String, Object>> selectInfoClassify(@Param("tcId")Integer tcId, @Param("scId")Integer scId,@Param("dcId") Integer dcId,@Param("count")int count);

}